$OpenBSD: patch-gcc_cp_call_c,v 1.1.1.1 2010/10/10 17:39:06 steven Exp $
--- gcc/cp/call.c.orig	Sat Jul  7 04:02:37 2007
+++ gcc/cp/call.c	Mon Jun 14 19:23:04 2010
@@ -5291,7 +5291,7 @@ name_as_c_string (tree name, tree type, bool *free_p)
 	  || name == base_dtor_identifier
 	  || name == deleting_dtor_identifier)
 	{
-	  pretty_name = concat ("~", pretty_name, NULL);
+	  pretty_name = concat ("~", pretty_name, (void *)0);
 	  /* Remember that we need to free the memory allocated.  */
 	  *free_p = true;
 	}
@@ -5301,7 +5301,7 @@ name_as_c_string (tree name, tree type, bool *free_p)
       pretty_name = concat ("operator ",
 			    type_as_string (TREE_TYPE (name),
 					    TFF_PLAIN_IDENTIFIER),
-			    NULL);
+			    (void *)0);
       /* Remember that we need to free the memory allocated.  */
       *free_p = true;
     }
